/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package proyectoso;

/**
 *
 * @author Christian
 */
public class Avisar {
    boolean fin;
    
    Avisar(){
        this.fin=false;
    }
    public synchronized void DarAviso(){
        this.fin=true;
        this.notify();
    }
    public synchronized void Reset(){
        this.fin=false;
    }
}
